package com.smart.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.smart.common.PageInfo;
import com.smart.model.domain.ProjectStatusAxisDO;
import com.smart.model.request.ProjectStatusAxisRequest;
import com.smart.model.vo.ProjectStatusAxisVO;

import java.util.Date;
import java.util.List;

/**
 * @author zhanghong
 */
public interface ProjectStatusAxisService extends IService<ProjectStatusAxisDO> {

    /**
     * 根据主键查询
     * @param id
     * @return
     */
     ProjectStatusAxisVO getByKey(long id);
    /**
     * 分页查询，手动分页
     * @param request
     * @return
     */
    PageInfo<ProjectStatusAxisVO> pageQuery(ProjectStatusAxisRequest request);
    /**
     * 列表查询
     * @param request
     * @return
     */
    List<ProjectStatusAxisVO> listQuery(ProjectStatusAxisRequest request);
    /**
     * 新增
     * @param request
     * @return
     */
    Boolean add(ProjectStatusAxisRequest request);
    /**
     * 根据主键更新
     * @param request
     * @return
     */
    Boolean updateByKey(ProjectStatusAxisRequest request);
    /**
     * 根据主键删除
     * @param id
     * @return
     */
    Boolean deleteByKey(long id);
}
